#ifndef _KEY_TEST_H_
#define _KEY_TEST_H_

#include "woopsiheaders.h"

using namespace WoopsiUI;

class WifiTest : public Woopsi, public GadgetEventHandler, public KeyboardEventHandler {
public:
	virtual void handleClickEvent(const GadgetEventArgs& e);
	virtual void handleKeyboardPressEvent(const KeyboardEventArgs& e);
	
private:
	WoopsiKeyboard* _keyboard;
	ScrollingTextBox* _reqout;
	ScrollingTextBox* _output;
	TextBox* _addressbox;
	Button* _gobutton;
	WoopsiTimer* _timer;
	
	virtual void startup();
	virtual void shutdown();
	
	void getHttp(char* url);
};

#endif
